[동적 기획] - 구간 잡화 2017 ICPC 베이징-J Pangu and Stones [구간DP] In Chinese mythology, Pangu is the first living being and the creator of the sky and the earth. There were N piles of stones, numbered from 1 to N. Pangu wanted to merge all of them into one pile to build a great mountai... [동적 기획] - 구간 잡화
2017 ICPC 베이징-J Pangu and Stones [구간DP] In Chinese mythology, Pangu is the first living being and the creator of the sky and the earth. There were N piles of stones, numbered from 1 to N. Pangu wanted to merge all of them into one pile to build a great mountai... [동적 기획] - 구간 잡화